package com.yuyou.fn.tradingservice.entity;

import com.github.wens.mybatisplus.annotations.TableField;
import com.github.wens.mybatisplus.annotations.TableId;
import com.github.wens.mybatisplus.annotations.TableName;
import com.github.wens.mybatisplus.examples.Example;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 * 
 *
 */
@TableName(value = "service_order_item")
public class ServiceOrderItem implements Serializable {

	@TableField(exist = false)
	private static final long serialVersionUID = 1L;

	public static Example<ServiceOrderItem> createExample(){
		return new Example<ServiceOrderItem>(ServiceOrderItem.class);
	}

	@TableField(exist = false)
	private List<PersonLeaseMessage> personLeaseMessageList;

	@TableField(exist = false)
	private List<PersonLeaseMessage> conflictList;

	@TableId(value = "order_item_id")
	private Long orderItemId;

	/** 订单ID */
	@TableField(value = "order_id")
	private Long orderId;

	/** 类别id */
	@TableField(value = "category_id")
	private Long categoryId;

	/** 类别名称 */
	@TableField(value = "category_name")
	private String categoryName;


	/** 数量 */
	private Integer quantity;

	/** 状态 ：0-下单中，2-已付款  6申请退款， 5已退款 */
	@TableField(value = "charging_status")
	private Integer chargingStatus;

	/** 创建时间 */
	@TableField(value = "create_time")
	private Date createTime;

	/** 更新时间 */
	@TableField(value = "update_time")
	private Date updateTime;

	/** 商品Id */
	@TableField(value = "product_id")
	private Long productId;

	/** 商品名称 */
	@TableField(value = "product_name")
	private String productName;


	@TableField(value = "vendor_name")
	private String vendorName;
	/** 分类类型 */
	private Integer type;

	/** 图片url */
	@TableField(value = "image_url")
	private String imageUrl;

	/** 联系方式 */
	@TableField(value = "phone_no")
	private String phoneNo;

	/** 具体要求 */
	private String requirement;

	/**  */
	private String sn;



	/** 单价 */
	@TableField(value = "unit_price")
	private BigDecimal unitPrice;



	/**  */
	@TableField(value = "buyer_id")
	private Long buyerId;

	/**  */
	@TableField(value = "buyer_name")
	private String buyerName;

	/**  */
	@TableField(value = "buyer_phone_no")
	private String buyerPhoneNo;

	/**  */
	@TableField(value = "seller_id")
	private Long sellerId;

	/**  */
	@TableField(value = "seller_name")
	private String sellerName;

	/**  */
	@TableField(value = "seller_phone_no")
	private String sellerPhoneNo;

	/** 获利主体id */
	@TableField(value = "profit_main_account_id")
	private Long profitMainAccountId;

	/**  */
	@TableField(value = "profit_main_account_name")
	private String profitMainAccountName;

	/**  */
	@TableField(value = "pay_main_account_id")
	private Long payMainAccountId;

	/**  */
	@TableField(value = "pay_main_account_name")
	private String payMainAccountName;

	/**  */
	@TableField(value = "pay_way")
	private Integer payWay;

	/** 租赁信息ids ，以，隔开 */
	@TableField(value = "person_lease_ids")
	private String personLeaseIds;

	/** 2 未发货，7发货, 8买家确认收货,  */
	@TableField(value = "good_state")
	private Integer goodState;

	/** 是否评论 0 未，1已经评论 */
	@TableField(value = "is_comments")
	private Integer isComments;

	/** 收货地址Id */
	@TableField(value = "address_id")
	private Long addressId;

	/** 收货地址 */
	@TableField(value = "person_address")
	private String personAddress;

	/** 联系人 */
	private String consignee;

	/**  */
	@TableField(value = "total_amount")
	private BigDecimal totalAmount;

	/**  */
	@TableField(value = "payable_amount")
	private BigDecimal payableAmount;

	/**  */
	@TableField(value = "paid_amount")
	private BigDecimal paidAmount;

	/** 物流名称 */
	@TableField(value = "logistics_name")
	private String logisticsName;

	/** 物流单号 */
	@TableField(value = "logistics_no")
	private String logisticsNo;

	/**  */
	@TableField(value = "pay_time")
	private Date payTime;

	/** 申请退款的时间 */
	@TableField(value = "refund_time")
	private Date refundTime;

	/** 0未付款， 2已付款，5已退款， 6退款中， 7已发货，8确认收货 */
	@TableField(value = "order_status")
	private Integer orderStatus;

	@TableField(value = "campus_id")
	private Long campusId;

	@TableField(value = "campus_name")
	private String campusName;

	@TableField(value = "room_id")
	private Long roomId;

	@TableField(value = "room_name")
	private String roomName;

	private String province;

	private String city;

	private String district;

	private String address;

	@TableField(value = "refund_reason_tag")
	private String refundReasonTag;

	@TableField(value = "refund_reason")
	private String refundReason;


	@TableField(value = "category_ids")
	private String categoryIds;

	@TableField(value = "category_names")
	private String categoryNames;

	@TableField(value = "min_start_date")
	private Date minStartDate;

	@TableField(value = "max_end_date")
	private Date maxEndDate;

	public Long getOrderItemId() {
		return orderItemId;
	}

	public void setOrderItemId(Long orderItemId) {
		this.orderItemId = orderItemId;
	}

	public Long getOrderId() {
		return orderId;
	}

	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}

	public Long getCategoryId() {
		return categoryId;
	}

	public void setCategoryId(Long categoryId) {
		this.categoryId = categoryId;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}


	public Integer getQuantity() {
		return quantity;
	}

	public void setQuantity(Integer quantity) {
		this.quantity = quantity;
	}

	public Integer getChargingStatus() {
		return chargingStatus;
	}

	public void setChargingStatus(Integer chargingStatus) {
		this.chargingStatus = chargingStatus;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getVendorName() {
		return vendorName;
	}

	public void setVendorName(String vendorName) {
		this.vendorName = vendorName;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getRequirement() {
		return requirement;
	}

	public void setRequirement(String requirement) {
		this.requirement = requirement;
	}

	public String getSn() {
		return sn;
	}

	public void setSn(String sn) {
		this.sn = sn;
	}


	public BigDecimal getUnitPrice() {
		return unitPrice;
	}

	public void setUnitPrice(BigDecimal unitPrice) {
		this.unitPrice = unitPrice;
	}



	public Long getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}

	public String getBuyerName() {
		return buyerName;
	}

	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}

	public String getBuyerPhoneNo() {
		return buyerPhoneNo;
	}

	public void setBuyerPhoneNo(String buyerPhoneNo) {
		this.buyerPhoneNo = buyerPhoneNo;
	}

	public Long getSellerId() {
		return sellerId;
	}

	public void setSellerId(Long sellerId) {
		this.sellerId = sellerId;
	}

	public String getSellerName() {
		return sellerName;
	}

	public void setSellerName(String sellerName) {
		this.sellerName = sellerName;
	}

	public String getSellerPhoneNo() {
		return sellerPhoneNo;
	}

	public void setSellerPhoneNo(String sellerPhoneNo) {
		this.sellerPhoneNo = sellerPhoneNo;
	}

	public Long getProfitMainAccountId() {
		return profitMainAccountId;
	}

	public void setProfitMainAccountId(Long profitMainAccountId) {
		this.profitMainAccountId = profitMainAccountId;
	}

	public String getProfitMainAccountName() {
		return profitMainAccountName;
	}

	public void setProfitMainAccountName(String profitMainAccountName) {
		this.profitMainAccountName = profitMainAccountName;
	}

	public Long getPayMainAccountId() {
		return payMainAccountId;
	}

	public void setPayMainAccountId(Long payMainAccountId) {
		this.payMainAccountId = payMainAccountId;
	}

	public String getPayMainAccountName() {
		return payMainAccountName;
	}

	public void setPayMainAccountName(String payMainAccountName) {
		this.payMainAccountName = payMainAccountName;
	}

	public Integer getPayWay() {
		return payWay;
	}

	public void setPayWay(Integer payWay) {
		this.payWay = payWay;
	}

	public String getPersonLeaseIds() {
		return personLeaseIds;
	}

	public void setPersonLeaseIds(String personLeaseIds) {
		this.personLeaseIds = personLeaseIds;
	}

	public Integer getGoodState() {
		return goodState;
	}

	public void setGoodState(Integer goodState) {
		this.goodState = goodState;
	}

	public Integer getIsComments() {
		return isComments;
	}

	public void setIsComments(Integer isComments) {
		this.isComments = isComments;
	}

	public Long getAddressId() {
		return addressId;
	}

	public void setAddressId(Long addressId) {
		this.addressId = addressId;
	}

	public String getPersonAddress() {
		return personAddress;
	}

	public void setPersonAddress(String personAddress) {
		this.personAddress = personAddress;
	}

	public String getConsignee() {
		return consignee;
	}

	public void setConsignee(String consignee) {
		this.consignee = consignee;
	}

	public BigDecimal getTotalAmount() {
		return totalAmount;
	}

	public void setTotalAmount(BigDecimal totalAmount) {
		this.totalAmount = totalAmount;
	}

	public BigDecimal getPayableAmount() {
		return payableAmount;
	}

	public void setPayableAmount(BigDecimal payableAmount) {
		this.payableAmount = payableAmount;
	}

	public BigDecimal getPaidAmount() {
		return paidAmount;
	}

	public void setPaidAmount(BigDecimal paidAmount) {
		this.paidAmount = paidAmount;
	}

	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	public Date getPayTime() {
		return payTime;
	}

	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}

	public Date getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Date refundTime) {
		this.refundTime = refundTime;
	}

	public Integer getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}

	public List<PersonLeaseMessage> getPersonLeaseMessageList() {
		return personLeaseMessageList;
	}

	public void setPersonLeaseMessageList(List<PersonLeaseMessage> personLeaseMessageList) {
		this.personLeaseMessageList = personLeaseMessageList;
	}

	public List<PersonLeaseMessage> getConflictList() {
		return conflictList;
	}

	public void setConflictList(List<PersonLeaseMessage> conflictList) {
		this.conflictList = conflictList;
	}

	public Long getCampusId() {
		return campusId;
	}

	public void setCampusId(Long campusId) {
		this.campusId = campusId;
	}

	public String getCampusName() {
		return campusName;
	}

	public void setCampusName(String campusName) {
		this.campusName = campusName;
	}

	public Long getRoomId() {
		return roomId;
	}

	public void setRoomId(Long roomId) {
		this.roomId = roomId;
	}

	public String getRoomName() {
		return roomName;
	}

	public void setRoomName(String roomName) {
		this.roomName = roomName;
	}

	public String getProvince() {
		return province;
	}

	public void setProvince(String province) {
		this.province = province;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getRefundReasonTag() {
		return refundReasonTag;
	}

	public void setRefundReasonTag(String refundReasonTag) {
		this.refundReasonTag = refundReasonTag;
	}

	public String getRefundReason() {
		return refundReason;
	}

	public void setRefundReason(String refundReason) {
		this.refundReason = refundReason;
	}

	public String getCategoryIds() {
		return categoryIds;
	}

	public void setCategoryIds(String categoryIds) {
		this.categoryIds = categoryIds;
	}

	public String getCategoryNames() {
		return categoryNames;
	}

	public void setCategoryNames(String categoryNames) {
		this.categoryNames = categoryNames;
	}

	public Date getMinStartDate() {
		return minStartDate;
	}

	public void setMinStartDate(Date minStartDate) {
		this.minStartDate = minStartDate;
	}

	public Date getMaxEndDate() {
		return maxEndDate;
	}

	public void setMaxEndDate(Date maxEndDate) {
		this.maxEndDate = maxEndDate;
	}
}
